#include "../kernel/memory.h"
#include "../kernel/thread.h"
#include "../lib/define.h"
#include "../lib/descriptor.h"
#include "../lib/executable.h"
#include "../lib/handle.h"
#include "../lib/heap.h"
#include "../lib/rtl.h"

extern HANDLE hProcesses[0x100];
extern DWORD dwProcessCount;

void PsInitializeSystemPageTable(void);
HANDLE PsStartProcess(LPVOID lpExecutable);
void PsInitializePageDirectory(LPDWORD lpdwPageDir);
LPDWORD PsAllocatePage(LPDWORD lpdwPageDir, DWORD_PTR dwAddress);
void PsFreePage(LPDWORD lpdwPageDir, DWORD_PTR dwAddress);
